<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>{% block title %}收藏夹{% endblock %}</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="icon" href="/media/icos/favicon.png" type="image/png">
<link href="/media/css/common.css" type="text/css" rel="stylesheet">
<style type="text/css">
body {margin:0; padding:0; font-size:12px; background:#333333; color:#96F226; text-align:center;}
#wrapper {width:990px; margin:0 auto; text-align:left;}
#header {}
	#header ul {padding:3px 0 5px 0; margin:0; list-style-position:inside;}
	#header li {float:left; padding-right:10px;}
	li a {color:#96F226;}
#container {width:990px;}
#footer{padding:10px 0 40px; text-align:center;}
</style>
{% block css %}{% endblock %}
{% block js %}{% endblock %}
</head>

<body>
<div id="wrapper">
{% block body %}
	<div id="header">
	{% block header %}
		<div>
			<div class="l" ><img src="/media/images/logo.png" /></div>
			<div class="r" >
			{% if request.user %}
				<a style="color:#66FF00;" href="{{logout_url}}">退出</a>
			{% else %}
				<a style="color:#66FF00;" href="{{login_url}}">登录</a>
			{% endif %}
			</div>
			<div class="c" ></div>
		</div>
		<div>
			<ul>
				<li><a href="/newspaper/" >防骗手册</a></li>
				{% if request.user %}<li><a href="/favorite/" >书签</a></li>{% endif %}
				<div class="c" ></div>
			</ul>
		</div>
	{% endblock %}
	</div>
    <div id="container">
    {% block container %}
	{% endblock %}
	</div>
	<div id="footer">
	{% block footer %}
		<img src="http://code.google.com/appengine/images/appengine-noborder-120x30.gif" alt="Google App Engine 支持" />
	{% endblock %}
    </div>
{% endblock %}
</div>
</body>
</html>